package cn.cloudreal.cbms.levelRule.dao;

import java.util.List;

import cn.cloudreal.cbms.vo.LevelRule;

public interface LevelRuleDao
{

    public int addLevelRule(LevelRule levelRule);
    
    public List<LevelRule> findLevelRuleByPriceID(int priceID);
    
    public List<LevelRule> findLevelRuleByPriceIDAndType(int priceID,String levelPromotionType);
    
    /**
     * 根据媒体媒体价格删除
     * @param priceID
     */
    public void delLevelRuleByPriceID(int priceID,String levelPromotionType);
    
    public void delLevelRuleByPriceID_01(int priceID);
}
